//
//  RegistryParser.h
//  Politics
//
//  Created by Hai Nguyen on 7/9/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>

@protocol RegistryParserDelegate <NSObject>
- (void)didEndRegistry:(int)result;
@end

@interface RegistryParser : NSObject <NSXMLParserDelegate>
{
	NSObject <RegistryParserDelegate>* delegate;
	NSMutableData *responseData;
}

@property (retain, nonatomic) NSMutableData *responseData;
@property (nonatomic, retain) NSObject <RegistryParserDelegate>* delegate;

- (void)registryWithInfo:(NSDictionary*)infoDict withDelegate:(id)aDelegate;

@end
